package com.stormrage.entity.edu.rep;

import java.io.Serializable;

/**
 * @Title: UploadVideoRep.java
 * @Package com.stormrage.entity.edu.rep
 * @Description: 上传视频 返回 类
 * @author www.stormragetech.com
 * @date 2016年4月11日
 * @version V1.0
 */
public class UploadVideoRep implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = 1506631943486973554L;

	private Integer len;

	private String name;

	// ------------------------------- Fields -------------------------------

	public UploadVideoRep() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getLen() {
		return len;
	}

	public void setLen(Integer len) {
		this.len = len;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	// ------------------------------- Fields -------------------------------

	public static UploadVideoRep instance(Integer len, String name) {
		UploadVideoRep entity = new UploadVideoRep();
		entity.setLen(len);
		entity.setName(name);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : len - " + len + " name - " + name;
	}

}
